package com.yi.mall.api;

import com.yi.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "alipay",name = "mall-pay-service")
public interface AlipayFeign {
    @PostMapping("/alipay/query")
    public Result query(@RequestParam("outTradeNo") String outTradeNo) throws Exception;
}
